<div class="detailsBox">
	<div class="openBox">
		<h3>
			<i class="jtIco"></i>夫妻双方征信负债情况<a class="action-ajax-btn fr edit btn_blue"
				data-url="<@url value='/workflowcheck/editZX?referId=${zXSSYHForm.referId}'/>"
				data-ajax-wait-img="<@cdn value='img.wait'/>">编辑</a>
		</h3>
		<input type="hidden" class="tabInp" name="loanapplyNo"
			value="${zXSSYHForm.referId}"> <input type="hidden" name="id"
			value="${creditForm.id}" /> <input type="hidden" name="parentId"
			value="${creditForm.parentId}" />
		<div class="detaiTab">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tbody>
					<tr>
						<td colspan="2"><strong class="ml10">一、借款客户征信情况</strong></td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">征信总负债:</strong></td>
						<td>总额&nbsp;${creditForm.contractTotal}&nbsp;万元 ,<span
							class="mlr10">余额&nbsp;<input type="hidden"
								id="bankPaymentBalance" value="${creditForm.paymentBalance}" />${creditForm.paymentBalance}&nbsp;万元</span><span
							class="red">(目前逾期
								&nbsp;${creditForm.contractTotalOverdue}&nbsp;万元);</span><span
							class="mlr10"></span>对外担保&nbsp;${creditForm.outAssureBalance}&nbsp;万元,
							<span class="red">(目前逾期&nbsp;${creditForm.outAssureBalanceOverdue}&nbsp;万元)
						</span>；
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">银行机构贷款:</strong></td>
						<td>贷款余额 &nbsp;${creditForm.bankPaymentBalance}&nbsp;万元 <span
							class="red">（目前逾期
								&nbsp;${creditForm.bankBalanceOverdue}&nbsp;万元）； </span>
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">按揭房产:</td>
						<td>&nbsp;${creditForm.mortgageHouse}&nbsp;套，住房按揭贷款余额&nbsp;
							${creditForm.mortgageHouseBalance}&nbsp;万元，月均还款额
							&nbsp;${creditForm.avgmonthRepayHouse}&nbsp;万元 </span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">车辆按揭:</td>
						<td>&nbsp;${creditForm.mortgageCar}&nbsp;辆，车辆按揭贷款余额&nbsp;
							${creditForm.mortgageCarBalance}&nbsp;万元，
							月均还款额&nbsp;${creditForm.avgmonthRepayCar}&nbsp;万元；</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">其中:</td>
						<td>信用（含保证）贷款余额&nbsp;${creditForm.creditPaymentBalance}&nbsp;万元；<span
							class="mlr10">抵押贷款余额&nbsp;${creditForm.pledgePaymentBalance}&nbsp;万元；
						</span><span class="mlr10">质押贷款余额&nbsp;
								${creditForm.impawnPaymentBalance}&nbsp;万元； </span><span class="mlr10">组合担保贷款余额&nbsp;${creditForm.groupAssureBalance}&nbsp;万元；
						</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">信用卡(贷记卡及准贷记卡):</strong></td>
						<td>&nbsp;${creditForm.creditCount}&nbsp;张，授信总额<input
							type="hidden" id="creditBalance"
							value="${creditForm.creditBalance}" />
							&nbsp;${creditForm.creditBalance}&nbsp;万元； <span class="mlr10">
								信用卡近6个月月均使用额<input type="hidden" id="avgCardusedAmt"
								value="${creditForm.avgCardusedAmt}" />&nbsp;${creditForm.avgCardusedAmt}&nbsp;万元；
						</span><span class="mlr10"> 信用卡透支<input type="hidden"
								id="creditLimitRate" value="${creditForm.creditLimitRate}" />&nbsp;${creditForm.creditLimitRate}&nbsp;万元
						</span><span class="mlr10 red">（目前逾期&nbsp;${creditForm.creditLimitOverdue}&nbsp;万元)；
						</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">非银行机构贷款:</strong></td>
						<td>贷款余额&nbsp; ${creditForm.nonbankPaymentBalance}&nbsp;万元； <span
							class="mlr10 red"> （目前逾期&nbsp;
								${creditForm.nonbankBalanceOverdue}&nbsp;万元)； </span> <span
							class="ml10 c999">备注：非银行机构指含小额贷款公司、消费金融公司、信托机构等</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">对外担保:</td>
						<td>&nbsp;${creditForm.outAssureCount}&nbsp;笔 <span
							class="mlr10">担保金额&nbsp;
								${creditForm.assureTotal}&nbsp;万元； </span><span class="mlr10">担保余额&nbsp;${creditForm.assureBalance}&nbsp;万元,</span><span
							class="red">(目前对外担保逾期
								&nbsp;${creditForm.outAssureBalanceOverdue}&nbsp;万元) </span></td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">借款人6个月贷款到期金额:</td>
						<td>&nbsp;${creditForm.sixOverBalance}&nbsp;万元; <span
							class="mlr10">近24个月内贷款逾期次数&nbsp;
								${creditForm.twentyFourOverdueCount}&nbsp;次； </span><span class="mlr10">本月应还款金额超过1000元的贷款近24个月内最高逾期期数&nbsp;${creditForm.twentyFourOverdueTopCount}&nbsp;期,</span>
							<span>近24个个月信用卡逾期次数&nbsp;${creditForm.twentyFourOverdueCreditCount}&nbsp;次；</span><span>近24个月内信用卡最高逾期期数&nbsp;${creditForm.twentyFourOverdueCreditTopCount}&nbsp;期；</span>
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">近2个月贷款审批、信用卡审批查询</td>
						<td><input type="hidden" value="${creditForm.creditSearch}"
							id="creditSearch" />&nbsp;${creditForm.creditSearch}&nbsp;次。</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">备注:</td>
						<td>${creditForm.remark}</textarea></td>
					</tr>
				</tbody>
			</table>
			<#if userEntity!=null>
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tbody>
					<tr>
						<td colspan="2"><strong class="ml10">二、借款人配偶征信情况</strong></td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">征信总负债:</strong></td>
						<td>总额&nbsp;${creditForm.contractTotal1}&nbsp;万元 ,<span
							class="mlr10">余额&nbsp; <input type="hidden"
								id="bankPaymentBalance1" value=" ${creditForm.paymentBalance1}" />${creditForm.paymentBalance1}&nbsp;万元
						</span> <span class="mlr10 red">(目前逾期&nbsp;
								${creditForm.contractTotalOverdue1}&nbsp;万元) </span><span class="mlr10"></span>对外担保&nbsp;${creditForm.outAssureBalance1}&nbsp;万元,
							<span class="red">(目前逾期&nbsp;${creditForm.outAssureBalanceOverdue1}&nbsp;万元)
						</span>；
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">银行机构贷款:</strong></td>
						<td>贷款余额 &nbsp;${creditForm.bankPaymentBalance1}&nbsp;万元 <span
							class="red">（目前逾期
								&nbsp;${creditForm.bankBalanceOverdue1}&nbsp;万元）； </span>
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">按揭房产:</td>
						<td>&nbsp;${creditForm.mortgageHouse1}&nbsp;套，住房按揭贷款余额
							&nbsp;${creditForm.mortgageHouseBalance1}&nbsp;万元，月均还款额
							&nbsp;${creditForm.avgmonthRepayHouse1}&nbsp;元 </span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">车辆按揭:</td>
						<td>&nbsp;${creditForm.mortgageCar1}&nbsp;辆，车辆按揭贷款余额
							&nbsp;${creditForm.mortgageCarBalance1}&nbsp;万元，
							月均还款额&nbsp;${creditForm.avgmonthRepayCar1}&nbsp;元；</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">其中:</td>
						<td>信用（含保证）贷款余额&nbsp;
							${creditForm.creditPaymentBalance1}&nbsp;万元；<span class="mlr10">抵押贷款余额&nbsp;${creditForm.pledgePaymentBalance1}&nbsp;万元；
						</span><span class="mlr10">质押贷款余额&nbsp;
								${creditForm.impawnPaymentBalance1}&nbsp;万元； </span><span class="mlr10">组合担保贷款余额&nbsp;${creditForm.groupAssureBalance1}&nbsp;万元；
						</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">信用卡(贷记卡及准贷记卡):</strong></td>
						<td>${creditForm.creditCount1}张，授信总额<input type="hidden"
							id="creditBalance1" value="${creditForm.creditBalance1}" />
							&nbsp;${creditForm.creditBalance1}&nbsp;万元； <span class="mlr10">
								信用卡近6个月月均使用额<input type="hidden" id="avgCardusedAmt1"
								value="${creditForm.avgCardusedAmt1}" />&nbsp;${creditForm.avgCardusedAmt1}&nbsp;万元；
						</span><span class="mlr10"> 信用卡透支<input type="hidden"
								id="creditLimitRate1" value="${creditForm.creditLimitRate1}" />&nbsp;
								${creditForm.creditLimitRate1}&nbsp;万元
						</span><span class="mlr10 red">（目前逾期&nbsp;${creditForm.creditLimitOverdue1}&nbsp;万元)；
						</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%"><strong class="c333">非银行机构贷款:</strong></td>
						<td>贷款余额&nbsp; ${creditForm.nonbankPaymentBalance1}&nbsp;万元；
							<span class="mlr10 red"> （目前逾期
								&nbsp;${creditForm.nonbankBalanceOverdue1}&nbsp;万元)； </span> <span
							class="ml10 c999">备注：非银行机构指含小额贷款公司、消费金融公司、信托机构等</span>
						</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">对外担保:</td>
						<td>&nbsp;${creditForm.outAssureCount1}&nbsp;笔 <span
							class="mlr10">担保金额
								&nbsp;${creditForm.assureTotal1}&nbsp;万元； </span><span class="mlr10">担保余额&nbsp;${creditForm.assureBalance1}&nbsp;万元,</span><span
							class="red">(目前对外担保逾期&nbsp;
								${creditForm.outAssureBalanceOverdue1}&nbsp;万元) </span></td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">借款人配偶6个月贷款到期金额:</td>
						<td>&nbsp;${creditForm.sixOverBalance1}&nbsp;万元 ;<span
							class="mlr10">近24个月内贷款逾期次数&nbsp;
								${creditForm.twentyFourOverdueCount1}&nbsp;次； </span><span class="mlr10">本月应还款金额超过1000元的贷款近24个月内最高逾期期数&nbsp;${creditForm.twentyFourOverdueTopCount1}&nbsp;期,</span>
							<span>近24个个月信用卡逾期次数&nbsp;${creditForm.twentyFourOverdueCreditCount1}&nbsp;次；</span><span>近24个月内信用卡最高逾期期数&nbsp;${creditForm.twentyFourOverdueCreditTopCount1}&nbsp;期；</span>
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">近2个月贷款审批、信用卡审批查询</td>
						<td><input type="hidden" value="${creditForm.creditSearch1}"
							id="creditSearch1" />&nbsp;${creditForm.creditSearch1}&nbsp;次。</td>
					</tr>

					<tr>
						<td class="bg" align="right" width="15%">备注:</td>
						<td>${creditForm.remark1}</td>
					</tr>
				</tbody>
			</table>
			</#if>
			<table class="mt10" border="0" cellpadding="0" cellspacing="0"
				width="100%">
				<tbody>
					<tr>
						<td colspan="2"><strong class="ml10"> <#if
								userEntity!=null> 三、借款客户夫妻双方负债合计 <#else> 二、借款人负债合计 </#if> </strong></td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%"><#if
							userEntity!=null> 夫妻双方名下 ： <#else> 客户名下 ： </#if></td>
						<td>征信总负债 ${creditForm.spouseContractTotal}万元， <span
							class="mlr10">负债余额<input id="spouseBalanceTotal"
								type="hidden" value="${creditForm.spouseBalanceTotal}" />
								${creditForm.spouseBalanceTotal}万元；
						</span><span class="mlr10 red">目前逾期总额 ${creditForm.spouseOverdue}
								万元； </span><span class="mlr10"> 对外担保
								${creditForm.spouseAssureTotal} 万元 </span><span class="mlr10 red">（目前对外担保逾期总额${creditForm.outAssureOverdue}万元)
						</span>
						</td>
					</tr>
				</tbody>
			</table>
			<table width="100%" class="mt10" cellspacing="0" cellpadding="0"
				border="0">
				<tbody>
					<tr>
						<td colspan="2"><strong class="ml10"> <#if
								userEntity!=null> 四、借款双方征信其他异常信息 <#else> 三、借款人征信其他异常信息 </#if></strong></td>

					</tr>
					<tr>
						<td width="15%" align="right" class="bg"></td>
						<td>
							<div class="lh30 fl ml10">
								<p id="payment1" style="display: none">1、贷款余额＞300万元；</p>
								<p id="balance1" style="display: none">2、信用卡月均使用≥30万元且已用额度超过总额度90%；</p>
								<p id="credit1" style="display: none">3、近2个月贷款审批、信用卡审批查询≥6次；</p>
							</div>
							<div class="lh30 fl ml20">

								<#if creditForm.paymentStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />贷款异常状态（贷款状态处于非正常类）；反馈说明
								</p>
								</#if> <#if creditForm.assureStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />对外担保异常状态（担保状态处于非正常类）
								</p>
								</#if> <#if creditForm.creditStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />信用卡异常状态（信用卡状态为呆账、冻结、止付）
								</p>
								</#if> <#if creditForm.courtEnforcementStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />法院强制执行记录（查询夫妻双方个人及征信显示相关关联企业、目前经营主体）
								</p>
								</#if> <#if creditForm.paymentOverdueStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />贷款当前逾期
								</p>
								</#if> <#if creditForm.creditOverdueStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />信用卡当前逾期
								</p>
								</#if> <#if creditForm.paymentYearStatus=='Y'>
								<p class="red">
									<input type="checkbox" checked="checked" disabled="disabled" />贷款24个月内出现“2”（即30天-59天的逾期）
								</p>
								</#if>

							</div>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
<@js> //贷款总额 
$(document).ready(function(){ //贷款总额大于300万
var balanceTotal=$("#spouseBalanceTotal").val()*1; 
if(balanceTotal>300){
$("#payment1").css("color","red");
$("#payment1").css("display","block"); 
} //信用卡查询次数是否大于6次 
var search;
var creditSearch=$("#creditSearch").val()*1; 
if(creditSearch){
 search=creditSearch;
 var creditSearch1=$("#creditSearch1").val()*1;
if(creditSearch1){
 search=search+creditSearch1; 
} 
}
 if(search>=6){
$("#credit1").css("color","red"); 
$("#credit1").css("display","block");
} 
//信用卡月均使用≥30万元且已用额度超过总额度90%；
var creditRate;//总额
var creditMonth;//月均
var limitRate;//超过总额度90%
var avgCardusedAmt=$("#avgCardusedAmt").val()*1; 
var avgCardusedAmt1=$("#avgCardusedAmt1").val()*1;
var creditBalance=$("#creditBalance").val()*1;
 var
creditBalance1=$("#creditBalance1").val()*1;
 var
creditLimitRate=$("#creditLimitRate").val()*1;
 var
creditLimitRate1=$("#creditLimitRate1").val()*1;
 if(avgCardusedAmt){
creditMonth=avgCardusedAmt; 
if(avgCardusedAmt1){
creditMonth=avgCardusedAmt1+creditMonth; } 
} 
if(creditBalance){
creditRate=creditBalance;
 if(creditBalance1){
creditRate=creditRate+creditBalance1; }
 } 
 if(creditLimitRate){
limitRate=creditLimitRate; 
if(creditLimitRate1){
limitRate=limitRate+creditLimitRate1; } 
} 
var rate=limitRate/creditRate;
if(creditMonth>=30 && rate>0.9){ 
$("#balance1").css("color","red");
$("#balance1").css("display","block"); }
 }); 
 </@js> 
 <@jsRender/>
